package com.schoolcloud.front.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.schoolcloud.front.entity.FroRole;
import com.schoolcloud.front.mapper.FroRoleMapper;
import com.schoolcloud.front.service.FroRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【fro_role(前台角色表)】的数据库操作Service实现
* @createDate 2025-02-11 15:20:14
*/
@Service
public class FroRoleServiceImpl extends ServiceImpl<FroRoleMapper, FroRole>
    implements FroRoleService{

    @Override
    public List<String> getFroRoleCodesByUserId(String userId) {
        return baseMapper.getFroRoleCodesByUserId(userId);
    }
}




